home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
varia
/
egebook.lha
/
ege.book
/
5
/
Professor.h
< prev
next >
Wrap
C/C++ Source or Header
|
1992-06-07
|
429b
|
25 lines
#ifndef Professor_h
#define Professor_h
#include "Teacher.h"
#include "Researcher.h"
#include "Collection.h"
class Professor: public Teacher, public Researcher {
public:
static Collection *All;
Professor(String n):Person(n){
All->add(this);
};
void print(){
Teacher::print();
};
Example* alike(String &name) {
return (new Professor(name));
};
};
Collection* Professor::All = new Collection;
#endif